package org.grow.rose;

import org.grow.rose.domain.MainFrame;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;

import java.util.Random;

@SpringBootApplication
public class RoseApplication {

    public static void main(String[] args) {
        System.setProperty("java.awt.headless","false");
        SpringApplication.run(RoseApplication.class, args);

    }
    @Bean
    public Random random(){
        Random random = new Random();
        random.setSeed(300);
        return random;
    }

}
